package cn.yunyichina.provider.hymed.service;

import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.dto.hymed.*;

/**
 * Created by Lullaby on 2017/10/25
 */
public interface PaymentService {

    /**
     * 社保卡消费
     *
     * @param payRequestDTO
     * @return
     */
    ResCommon<PaymentConsumeResponseDTO> consumePayment(PaymentConsumeRequestDTO payRequestDTO);

    /**
     * 余额查询
     *
     * @param balanceRequestDTO
     * @return
     */
    ResCommon<PaymentBalanceResponseDTO> balancePayment(PaymentBalanceRequestDTO balanceRequestDTO);

    /**
     * 消费撤销
     *
     * @param revokeRequestDTO
     * @return
     */
    ResCommon<PaymentRevokeResponseDTO> revokePayment(PaymentRevokeRequestDTO revokeRequestDTO);

    /**
     * 消费查询
     *
     * @param queryRequestDTO
     * @return
     */
    ResCommon<PaymentQueryResponseDTO> queryPayment(PaymentQueryRequestDTO queryRequestDTO);

}
